#include <stdio.h>
#include <string.h>
int main()
{
	char str[100],temp;
	int i,len;
	printf("Input a string:\n");
	gets(str);
	len=strlen(str);
	temp=str[0];
	for(i=1;i<len;i++)
	{
		if(str[i]-temp>0)
		temp=str[i];
	}
	printf("The largest character of \"%s\" is \'%c\' ,The ASCII is %d.",str,temp,temp);
	return 0;
}
